<#noparse><#--</#noparse>${objectNameCn}添加和修改<#noparse>--></#noparse>
<div class="pd10">
    <form id="myForm" method="post">
    	<input name="id" type="hidden" value="<#noparse>${(</#noparse>${fLowerObjectName}<#noparse>.id)!''}</#noparse>"/>
        <table class="form-tb">
            <col width="100" />
            <col />
            <tbody>
            	<#if columnFieldList??>
    			<#list columnFieldList as item>
    			<#if item.field??>
    			<#if 'description'==item.field>
    			<tr>   
                    <th><em class="cred">*</em> ${(item.comment)!''}：</th>
                    <td>
                    	<textarea  style="width:200px;height:100px;overflow:auto" name="${item.field}" class="ipt txt-remark easyui-validatebox"  validtype="maxLength[500]"><#noparse>${(</#noparse>${fLowerObjectName}<#noparse>.</#noparse>${item.field}<#noparse>)!''}</#noparse></textarea>
                    </td>
                </tr>
    			<#elseif 'id'==item.field>
    			<#else>
                <tr>   
                    <th><em class="cred">*</em> ${(item.comment)!''}：</th>
                    <td>
                    	<input style="width:120px;" name="${item.field}"  type="text" value="<#noparse>${(</#noparse>${fLowerObjectName}<#noparse>.</#noparse>${item.field}<#noparse>)!''}</#noparse>" class="ipt easyui-validatebox" data-options="required:true,missingMessage:'${(item.comment)!''}不能为空！'" autocomplete="off"/>
                    </td>
                </tr>
    			</#if>
                </#if>
                </#list>
                </#if>
				<#noparse>
                <#--<tr>   
                    <th><em class="cred">*</em> 状态：</th>
                    <td>
                    	<input id="status1" name="status" type="radio" value="1" class="easyui-validatebox" 
						<#if (deployGroup.status)??&& deployGroup.status=1>checked<#elseif !(deployGroup.status)?? && !(deployGroup.status)??>checked</#if>/><label for="status1">启用</label> 
						<input id="status2" name="status" type="radio" value="0" class="ml10 easyui-validatebox"
						<#if (deployGroup.status)??&& deployGroup.status=0>checked</#if>/><label for="status2">禁用</label></br>
                    </td>
                </tr>
                <tr>   
                    <th><em class="cred">*</em> 类型：</th>
                    <td>
                    	<select name="type" class="easyui-combobox" data-options="required:true,missingMessage:'请选择类型',editable:false, width:100">
                    		<option value="">请选择</option>
                    		<option value="1" <#if (deployFile.type)?? && deployFile.type=1>selected</#if>>war包 </option>
                    		<option value="2" <#if (deployFile.type)?? && deployFile.type=2>selected</#if>>jsw包</option>
                    		<option value="3" <#if (deployFile.type)?? && deployFile.type=3>selected</#if>>cssJs包</option>
                    	</select>
                    </td>
                </tr>
				<tr>   
                    <th><em class="cred">*</em> 排序号：</th>
                    <td>
                    	<input  name="orderNum"  type="text" value="${(floor.orderNum)!''}" class="ipt easyui-validatebox" data-options="required:true,missingMessage:'排序号不能为空！'" validtype="integer"/>
						<input style="width:200px;" name="orderCount"  type="text" value="${(floor.orderCount)!''}" class="ipt easyui-numberbox" data-options="required:true,missingMessage:'排序号不能为空！',min:1" autocomplete="off"/>
				   </td>
                </tr>
				<tr>   
                    <th><em class="cred">*</em> 邀请注册的人数：</th>
                    <td>
                    	<input maxlength="8" id="jsst" style="width:120px;" name="UpdateInviteAmounts"  type="text" value="${(userInviteStatistics.inviteAmounts)!''}" class="ipt easyui-validatebox" data-options="required:true,missingMessage:'邀请注册的人数不能为空！'" validtype="wennum['#jsst']" autocomplete="off"/>
                    </td>
                </tr>
				<tr>   
                    <th><em class="cred">*</em> 预售总数：</th>
                    <td>
                    	<input id="jspreSaleCount" style="width:80px;" name="preSaleCount" maxlength="8" type="text" value="${(vo.preSaleCount)!''}" class="ipt easyui-validatebox" data-options="required:true,missingMessage:'预售总数不能为空！'" validtype="wennumone['#jspreSaleCount',8]" autocomplete="off"/>
                    </td>
                </tr>
            	<tr>   
                    <th><em class="cred">*</em> 预售申请公司用户比例：</th>
                    <td>
                    	<input id="jspreSaleCompanyRate" style="width:80px;" name="preSaleCompanyRate" maxlength="3"  type="text" value="${(vo.preSaleCompanyRate)!''}" class="ipt easyui-validatebox" data-options="required:true,missingMessage:'预售申请公司用户比例不能为空！'" validtype="wennumtwo['#jspreSaleCompanyRate',0,100]" autocomplete="off"/>
                    	%
                    </td>
                </tr>
				<tr>   
                    <th><em class="cred">*</em> 日期：</th>
                    <td>
                    	<input style="width:140px;" name="inviteDate"  type="text" value="${(userInviteStatistics.inviteDate)!''}" class="ipt easyui-datebox easyui-validatebox" data-options="required:true,missingMessage:'日期不能为空！',dateFmt:'yyyy-MM-dd HH:mm:ss'" autocomplete="off"/>
                    </td>
                </tr>
				<tr>   
                    <th><em class="credss">*</em> 备注：</th>
                    <td rowspan="2">
                    	<textarea name="remark" style="width:200px;height:50px;" maxlength="200" >${(franFinance.remark)!''}</textarea>
                    </td>
                </tr>
                -->
				</#noparse>
            </tbody>
        </table>
    </form>
</div>
<script>
/*验证:大于等于0的数字
$.extend($.fn.validatebox.defaults.rules, {    
    wennum: {    
        validator: function(value,param){ 
        	return $.trim($(param[0]).val())==0 ||  $.string.isInteger(value);
        },    
        message: '请输入数字'   
    }    
}); 

//扩展验证
$.extend($.fn.validatebox.defaults.rules, {  
    wennumone: {//大于等于0的正整数，但是长度不能超过8    
        validator: function(value,param){ 
        	return ($.trim($(param[0]).val())==0 ||  $.string.isInteger(value)) && ($.trim($(param[0]).val()).length<=param[1]);
        },    
        message: '请输入大于等于0的正整数且长度不能超过{1}'   
    },
    wennumtwo: {//大于等于0小于等于100的正整数
        validator: function(value,param){ 
       		var _val=$.trim($(param[0]).val());
       		var _falg=(_val==0 ||  $.string.isInteger(value)) && (_val>=param[1] && _val<=param[2]);
			if(_falg){
				$('#jspreSalePersonalRate').text(100-_val);
			}       		
        	return _falg;
        },    
        message: '请输入大于等于{1}且小于等于{2}正整数'   
    }      
}); 
*/
</script>